cmake_minimum_required(VERSION 2.8)

project(ChatClient)

#允许使用C++11标准
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")


add_executable(${PROJECT_NAME} 
    src/main.cpp    
    src/chatClient.cpp
)

target_include_directories(${PROJECT_NAME} 
    PRIVATE 
    ${PROJECT_SOURCE_DIR}/include)

target_link_libraries(ChatClient pthread)

